<?php 
require_once 'i_global.php';
require_once 'p_header.php';
?>
<div class="span16"><div class="span13">

      <!-- Main hero unit for a primary marketing message or call to action -->
      
        <h1>Sign Up</h1>
        
        <p>Already registered? Please <a href='login.php'>login</a> here.
        
        Register using: <a href='#'><img align="absmiddle" src='<?php echo $URL_DIR_IMG?>login_google.png'></a>
        <a href='#'><img align="absmiddle" src='<?php echo $URL_DIR_IMG?>login_linked.png'></a>
        <a href='#'><img align="absmiddle" src='<?php echo $URL_DIR_IMG?>login_twitter.png'></a>
        </p>
        
<?php 
if($_REQUEST['mesg'] != NULL) {
	echo "<p>" . $_REQUEST['mesg'] . "</p>";
}
?>
 
 <iframe src="https://www.facebook.com/plugins/registration.php?
             client_id=164214020334768&
             redirect_uri=http%3A%2F%2F172.31.50.227%2Fkarma%2Freg_handler.php&
             fields=[{'name':'name'},{'name':'email'},{'name':'password'},{'name':'location'},{'name':'gender'},{'name':'birthday'}]"
        scrolling="auto"
        frameborder="no"
        style="border:none"
        allowTransparency="true"
        width="100%"
        height="430">
</iframe>
 

</div></div><!-- end div span9 -->
<?php 
// require_once 'p_rightpanel.php';
require_once 'p_footer.php';

?>